package org.yty.travelagencymongodb.service;

import org.yty.travelagencymongodb.model.Entity.ChatGroupMember;

import java.util.List;

public interface ChatGroupMemberService {
    List<ChatGroupMember> getListByChatGroupId(String chatGroupId);

    boolean save(ChatGroupMember chatGroupMember);

    void deleteByChatGroupIdAndChatUserId(String chatGroupId, String chatUserId);

    void deleteByChatGroupId(String chatGroupId);

    void deleteByChatUserId(String chatUserId);
}
